package org.xiaoyu.rpc.remoting.transport.cllient.future;

import java.util.Set;
import java.util.concurrent.TimeUnit;

/**
 * Created By Have
 * 2021/7/16 13:11
 */
public interface Timer {
    Timeout newTimeout(TimerTask task, long delay, TimeUnit unit);

    Set<Timeout> stop();

    boolean isStop();
}
